@extends('admin.master')

@section('top')
<div class="top-breadcrumb pull-left">{!! Breadcrumbs::render('edit-info') !!}</div>
@endsection

@section('content')
<div class="container-body">
{!! Form::model($user, ['url' => 'admin/user/edit-info', 'class'=>'form-horizontal']) !!}
{!! Form::hidden('id', null) !!}
	<div class="form-group">
		<label class="col-sm-4 control-label label-width"><span class="text-danger">*</span> 姓名：</label>
		<div class="col-sm-8 row">
			{!! Form::text('name', null, ['class'=>'form-control len', 'data-rule'=>'required']) !!}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-4 control-label label-width">邮箱：</label>
		<div class="col-sm-8 row">
			{!! Form::text('email', null, ['class'=>'form-control len']) !!}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-4 control-label label-width">手机号：</label>
		<div class="col-sm-8 row">
			{!! Form::text('phone', null, ['class'=>'form-control len']) !!}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-4 control-label label-width">QQ：</label>
		<div class="col-sm-8 row">
			{!! Form::text('qq', null, ['class'=>'form-control len']) !!}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-4 control-label label-width">身份证号码：</label>
		<div class="col-sm-8 row">
			{!! Form::text('id_number', null, ['class'=>'form-control len']) !!}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-4 control-label label-width">性别：</label>
		<div class="col-sm-8 row">
			<label class="radio-inline">
				{!! Form::radio('sex', 1, null) !!} 男
			</label>
			<label class="radio-inline">
				{!! Form::radio('sex', 2, null) !!} 女
			</label>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-4 control-label label-width"></label>
		<div class="col-sm-8 row">
			{!! Form::submit('提交', ['class'=>'btn btn-primary']) !!}
		</div>
	</div>
{!! Form::close() !!}
</div>
@endsection

@section('foot')
<script src="{{ url('js/nice-validator/jquery.validator.js?local=zh-CN') }}"></script>	
@endsection